package cate.game.fight.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFight;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;

@ClientMsg(title = "计算怪物战力 の 返回")
public class CalInsPowerResp implements MsgOutput{

    @NoteField("战力列表")
    public List<Long> powers = new ArrayList<>();

    @NoteField("key值")
    public int key;

    public CalInsPowerResp() {
    }

    public void add(long power){
        powers.add(power);
    }


    @Override
    public MsgConfig conf() {
        return MsgIdBFight.INS_POWER_RESP;
    }
}
